com.supermap.ar.areffect

Class ARViewElement

    • Constructor Detail

      • ARViewElement

        public ARViewElement(android.content.Context context)
    • Method Detail

      • loadModel

        public void loadModel(int resourceId)
        Loads the view (2D model of view)
        Parameters:
        resourceId -
      • getView

        public android.view.View getView()
        Gets the view
        Returns:
      • setVerticalAlignment

        public void setVerticalAlignment(ViewRenderable.VerticalAlignment verticalAlignment)
        Set vertical center point position, default bottom
        Parameters:
        verticalAlignment -
      • setHorizontalAlignment

        public void setHorizontalAlignment(ViewRenderable.HorizontalAlignment horizontalAlignment)
        Set the horizontal center position. Default is center
        Parameters:
        horizontalAlignment -